package com.neusoft.nep.supervisors.entity;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class LogEntry {

    private final StringProperty category;
    private final StringProperty timestamp;
    private final StringProperty province;
    private final StringProperty city;

    public LogEntry(String category, String timestamp, String province, String city) {
        this.category = new SimpleStringProperty(category);
        this.timestamp = new SimpleStringProperty(timestamp);
        this.province = new SimpleStringProperty(province);
        this.city = new SimpleStringProperty(city);
    }

    public String getCategory() { return category.get(); }
    public StringProperty categoryProperty() { return category; }

    public String getTimestamp() { return timestamp.get(); }
    public StringProperty timestampProperty() { return timestamp; }

    public String getProvince() { return province.get(); }
    public StringProperty provinceProperty() { return province; }

    public String getCity() { return city.get(); }
    public StringProperty cityProperty() { return city; }
}